• Developer consoles in web browsers offer more than just text logging. You can use the %c format specifier to insert CSS, SVG, and even limited HTML directly into console.info() or console.log() output. This opens up possibilities for stylized text, animated graphics, and interactive elements right in the console. While there are limitations, like no external images or event listeners, this technique offers a unique way to enhance debugging and add surprises for curious users.

    Tuesday, March 5, 2024